﻿using CommonDevelop.DB;
using SqlSugar;
using System;

namespace ManageDB
{
    /// <summary>
    /// 部门表
    /// </summary>
    [SugarTable("Base_Dept")]
    public class Base_Dept : BaseEn
    {
        /// <summary>
        /// 构造
        /// </summary>
        public Base_Dept()
        {
            this.DeptId = Guid.NewGuid().ToString("N");
        }

        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public string DeptId { get; set; }
        public string CompanyId { get; set; }
        public string ParentId { get; set; }
        public string Describe { get; set; }
        public string Manager { get; set; }
        public string DeptCode { get; set; }
        public string FullName { get; set; }
    }
}
